/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

let IconStar = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M279.552 898.048c-7.68 0-14.848-2.048-20.992-6.656-11.264-8.192-16.384-21.504-14.336-35.328l42.496-249.344L105.984 430.08c-9.728-9.728-13.312-24.064-9.216-36.864s15.36-22.528 29.184-24.576l249.856-35.84 111.616-226.816c6.144-12.288 18.432-19.968 32.256-19.968 13.824 0 26.112 7.68 32.256 19.968L664.064 332.8l249.856 36.352c13.824 2.048 24.576 11.264 29.184 24.576 4.096 12.8 0.512 27.136-9.216 36.864L752.64 607.232l42.496 249.344c2.048 13.312-3.072 27.136-14.336 35.328-11.264 8.192-25.6 9.216-37.888 2.56l-223.744-117.76-223.744 117.76c-4.608 2.048-10.24 3.584-15.872 3.584z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </Svg>
  );
};

IconStar.defaultProps = {
  size: 18,
};

IconStar = React.memo ? React.memo(IconStar) : IconStar;

export default IconStar;
